Skip to content

feat(website): add Simplified Chinese (简体中文) translation#76

Open
JaceThings wants to merge 2 commits into
feat/i18n-infrastructurefrom
feat/i18n-zh-Hans
Open

feat(website): add Simplified Chinese (简体中文) translation#76
JaceThings wants to merge 2 commits into
feat/i18n-infrastructurefrom
feat/i18n-zh-Hans

Conversation

@JaceThings

Copy link
Copy Markdown
Owner

Adds the Simplified Chinese (简体中文) translation (zh-Hans).

  • apps/website/messages/zh-Hans.json — full translated message catalog (same 163 keys as English).
  • Registers zh-Hans in apps/website/project.inlang/settings.json, which lights up the /zh-Hans/ (or lowercased) URL prefix, the language switcher entry, hreflang alternates, and the sitemap.
  • README.zh-Hans.md — translated README.

Branched off feat/i18n-infrastructuremerge that first (#75). Passes validate:translations: identical key set, every {placeholder} preserved, and do-not-translate tokens intact. Coined terms (squircle, superellipse) and the brand lisse are kept verbatim per the glossary; code, install commands, and math formulas are untouched. Review from a native speaker is welcome before merge.

Adds the zh-Hans locale: full translated message catalog (messages/zh-Hans.json),
registers the locale in project.inlang/settings.json, and a translated
README.zh-Hans.md. Branched off feat/i18n-infrastructure (merge that first).
Naturalness pass from a native-speaker review of how these terms are actually
used: superellipse→超椭圆, clothoid→回旋曲线, 原语→基础构件, 须→梳齿, 转译→映射. Keys, placeholders, and the enforced do-not-translate tokens
are unchanged.
@JaceThings JaceThings force-pushed the feat/i18n-zh-Hans branch from d92690b to 83125a5 Compare June 2, 2026 20:53
JaceThings added a commit that referenced this pull request Jun 3, 2026
The switcher header listed all seven planned locales, but only en/ja/de are
merged — so 简体中文 / 한국어 / Português (BR) / Русский were 404 links on the
live README. Trim each switcher to the languages that actually exist; the
remaining four return as their translation PRs (#76/#78/#79/#80) land.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant